﻿@model TYAJZWeb.Models.EquipmentEditExternalModel
@{
    if (Model == null || Model.Id == 0)
    {
        ViewBag.Title = "新信息登记";
    }
    else
    {
        ViewBag.Title = "修改信息登记";
    }
}
@section JS
{
    <script src="@Url.Content("~/Scripts/Equipment.js")" type="text/javascript"></script>
}
@section BodyNav
{
    > @Html.ActionLink("备案设备列表", "List", "Equipment") > 信息登记
}
@using (Html.BeginForm())
{
    <table class="edit">
        <tr>
            <th width="150">
                @Html.LabelFor(m => m.Eq_Name)
            </th>
            <td>
                @Html.DropDownListFor(m => m.Eq_Name, ViewBag.Names as IList<SelectListItem>, "请选择", null)
                @Html.ValidationMessageFor(m => m.Eq_Name)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_Type)
            </th>
            <td>@Html.EditorFor(m => m.Eq_Type)@Html.ValidationMessageFor(m => m.Eq_Type)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_Owner)
            </th>
            <td>@Html.EditorFor(m => m.Eq_Owner)@Html.ValidationMessageFor(m => m.Eq_Owner)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_OwnerInCharge)
            </th>
            <td>@Html.EditorFor(m => m.Eq_OwnerInCharge)@Html.ValidationMessageFor(m => m.Eq_OwnerInCharge)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_OwnerPhone)
            </th>
            <td>@Html.EditorFor(m => m.Eq_OwnerPhone)@Html.ValidationMessageFor(m => m.Eq_OwnerPhone)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_Producer)
            </th>
            <td>
                @Html.EditorFor(m => m.Eq_Producer)
                @Html.ValidationMessageFor(m => m.Eq_Producer)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_DesignCompany)
            </th>
            <td>@Html.EditorFor(m => m.Eq_DesignCompany)@Html.ValidationMessageFor(m => m.Eq_DesignCompany)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_CertNo)
            </th>
            <td>@Html.EditorFor(m => m.Eq_CertNo)@Html.ValidationMessageFor(m => m.Eq_CertNo)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_MadeDate)
            </th>
            <td>@Html.EditorFor(m => m.Eq_MadeDate)@Html.ValidationMessageFor(m => m.Eq_MadeDate)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_MadeNo)
            </th>
            <td>@Html.EditorFor(m => m.Eq_MadeNo)@Html.ValidationMessageFor(m => m.Eq_MadeNo)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_NO)
            </th>
            <td>@Html.EditorFor(m => m.Eq_NO)@Html.ValidationMessageFor(m => m.Eq_NO)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.LimitedMonth)
            </th>
            <td>@Html.EditorFor(m => m.LimitedMonth) @Html.ValidationMessageFor(m => m.LimitedMonth)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_Comment)
            </th>
            <td>@Html.EditorFor(m => m.Eq_Comment)
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="保存" class="btnBtn" />
                @Html.ActionLink("返回列表", "List", "Equipment", new { Local = false }, new { @class = "lnkBtn" })
            </td>
        </tr>
    </table>
}
<div class="info">
    <h2>
        设备备案操作说明</h2>
    <ol>
        <li>严格按照报备单位所填写《山西省建筑起重机械备案登记表》进行录入。</li>
        <li>须对所备案设备的资料资料进行审核后再进行备案操作。</li>
        <li>产权单位应为已备案机构中有租赁资质的企业，如果下来菜单中没有所填单位，请先新增机构备案。</li>
        <li>请准确录入档案所在的档案柜和档案盒位置，以便日后查找。</li>
    </ol>
</div>
